package com.mlethe.library.recyclerview.listener;

import androidx.annotation.NonNull;

import com.mlethe.library.recyclerview.viewholder.ViewHolder;

import java.util.List;

/**
 * 数据绑定
 *
 * @author Mlethe
 * @date 2016/12/28
 */
public abstract class OnConvertListener<T> {
    public abstract void convert(@NonNull ViewHolder holder, T item, int position);
    public void convert(@NonNull ViewHolder holder, T item, int position, @NonNull List<Object> payloads) {
    }
}
